package domain;
import javax.persistence.*;
import domain.nativesql.*;

 @SqlResultSetMapping(name = "order_item",
	 entities={@EntityResult(entityClass = Order.class,
			 				fields={@FieldResult(column = "order_id", name = "id"),
		 							@FieldResult(column = "order_quantity", name = "quantity")
	 				 				}
		 					),
		 	@EntityResult(entityClass = Item.class,
			 				fields={@FieldResult(column = "Item_id", name = "id"),
		 							@FieldResult(column = "Item_name", name = "name")
	 				 				}
		 					)}
 )
public class NativeSql {

}
